#ifndef _EKOS_ERROR_H_
#define _EKOS_ERROR_H_

/* Unspecified or unknown problem */
#define E_UNSPECIFIED	1

/* Proc doesn't exist or otherwise cannot be used in requested
 * action */
#define E_BAD_PROC		2

/* Invalid parameter */
#define E_INVAL			3

/* Request failed due to memory shortage */
#define E_NO_MEM		4

/* Attempt to create a new environment beyond the maximum allowed */
#define E_NO_PROC		5

/* Memory fault */
#define E_FAULT			6

/* Permission error */
#define E_PERM          7

/* IO error */
#define E_IO            8

/* Unsupported feature on current system */
#define E_UNSUPPORTED   9

#define E_BUSY          10
#define E_YIELD         11

#define	MAXERROR		11


#endif /* _EKOS_ERROR_H_ */
